package com.easywan.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.easywan.dao.IBaseFriendLinkDao;
import com.easywan.pojo.IResult;
import com.easywan.pojo.IResultSupport;
import com.easywan.vo.BaseFriendLink;

public class BaseFriendLinkService implements IBaseFriendLinkService{
	@Autowired
	IBaseFriendLinkDao friendLinkServDao;
	public IResult getAll() {
		
		List<BaseFriendLink> links =  friendLinkServDao.selectAll();
		
		return IResultSupport.buildResult(IResult.SUCCESS_CODE, links);
	}

}
